﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//Thêm thư viện
using KaraokeManagementDAO;
using KaraokeManagementDTO;

namespace KaraokeManagementBUS
{
    public class ChiTietPhieuTinhTienBUS
    {
        ChiTietPhieuTinhTienDAO dao = new ChiTietPhieuTinhTienDAO();

        public Boolean themChiTiet(ChiTietPhieuTinhTienDTO dto)
        {
            return dao.themChiTiet(dto);
        }

        public Boolean xoaChiTiet(int MaChiTiet)
        {
            return dao.xoaChiTiet(MaChiTiet);
        }

        public Boolean capNhatChiTiet(ChiTietPhieuTinhTienDTO dto)
        {
            return dao.capNhatChiTiet(dto);
        }

        public ChiTietPhieuTinhTienDTO layThongTinChiTiet(int MaChiTiet)
        {
            return dao.layThongTinChiTiet(MaChiTiet);
        }

        public List<ChiTietPhieuTinhTienDTO> layDanhSachChiTiet()
        {
            return dao.layDanhSachChiTiet();
        }
    }
}
